<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="huoyun" uri="/huoyun"%>
<%@ taglib prefix="s" uri="/struts-tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'cargoDetail.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	<style>	
	#mytable { 
		width: 500px; 
		padding: 0; 
		margin: 0; 
	} 
	
	#mytable tr{
		margin_bottom:10px;
	} 
	
	#mytable th { 
		height: 20px;
		width: 35%;
		font: 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
		border-right: 1px solid #C1DAD7; 
		border-bottom: 1px solid #C1DAD7; 
		border-top: 1px solid #C1DAD7; 
		letter-spacing: 2px; 
		text-transform: uppercase; 
		text-align: left; 
		padding: 6px 6px 6px 12px;
	} 
	/*power by www.winshell.cn*/ 
	#mytable th.nobg { 
		border-top: 0; 
		border-left: 0; 
		border-right: 1px solid #C1DAD7; 
		background: none; 
	} 
	
	#mytable td { 
		height: 20px;
		border-right: 1px solid #C1DAD7; 
		border-bottom: 1px solid #C1DAD7; 
		background: #fff; 
		font-size:12px; 
		padding: 6px 6px 6px 12px; 
		color: #4f6b72;
	} 
	/*power by www.winshell.cn*/ 
	
	#mytable td.alt { 
		background: #F5FAFA; 
		color: #797268; 
	} 
	
	#mytable th.spec { 
		border-left: 1px solid #C1DAD7; 
		border-top: 0; 
		background: #fff no-repeat; 
		font: bold 10px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
	} 
	</style>
  </head>
  
  <body>
    <div class="con" style="width:558px;text-align:right; max-height:400px; overflow-y:scroll; ">
		<table id="mytable">
			<tr><th><strong>货物信息</strong></th><td></td></tr>
			<tr><th>货物名称</th><td><s:property value="cargo.title" /></td></tr>
			<tr><th>货物类型</th><td><huoyun:customSelect mode="cargoType" value="${cargo.type }" type="view" /></td></tr>
			<tr><th>长*宽*高</th><td><s:property value="cargo.length" />米&times;<s:property value="cargo.width" />米&times;<s:property value="cargo.height" />米</td></tr>
			<tr><th>货物重量</th><td><s:property value="cargo.amount" /><huoyun:customSelect mode="measureType" value="${cargo.measure }" type="view" /></td></tr>
			<tr><th>包装方式</th><td><huoyun:customSelect mode="cargoPackageType" value="${cargo.packageType }" type="view" /></td></tr>		
			<tr><th>车型要求</th><td><huoyun:customSelect mode="carRequiredType" value="${cargo.carRequired }" type="view"/></td></tr>
			<tr><th>特别提示</th><td><s:property value="cargo.otherInfo" /></td></tr>
			
			<tr><th><strong>配送信息</strong></th><td></td></tr>
			<tr><th>起始地</th><td><huoyun:regionSelect provinceValue="${cargo.startProvince }" cityValue="${cargo.startCity }" townValue="${cargo.startTown }" type="view" /></td></tr>
			<tr><th>目的地</th><td><huoyun:regionSelect provinceValue="${cargo.destinationProvince }" cityValue="${cargo.destinationCity }" townValue="${cargo.destinationTown }" type="view" /></td></tr>
			<tr><th>运距(km)</th><td></td></tr>
			<tr><th>装货开始时间</th><td><huoyun:dateFormat date="${cargo.loadStartTime }" dateFormat="yyyy-MM-dd HH:mm" /></td></tr>
			<tr><th>装货结束时间</th><td><huoyun:dateFormat date="${cargo.loadEndTime }" dateFormat="yyyy-MM-dd HH:mm" /></td></tr>
			<tr><th>发货人联系电话</th><td>交易达成后可见</td></tr>
			<tr><th>卸货开始时间</th><td><huoyun:dateFormat date="${cargo.unloadStartTime }" dateFormat="yyyy-MM-dd HH:mm" /></td></tr>
			<tr><th>卸货结束时间</th><td><huoyun:dateFormat date="${cargo.unloadStartTime }" dateFormat="yyyy-MM-dd HH:mm" /></td></tr>
			<tr><th>应标截至时间</th><td><huoyun:dateFormat date="${cargo.bidEndTime }" dateFormat="yyyy-MM-dd HH:mm" /></td></tr>
			<tr><th>合同签订时间</th><td>交易达成后可见</td></tr>
			
			<tr><th><strong>货主报价信息</strong></th><td></td></tr>
			<tr><th>运费费率</th><td><s:property value="cargo.rate" />&#37;</td></tr>
			<tr><th>运费总额</th><td>&yen;<s:property value="cargo.freight" />元</td></tr>
			
			<%-- <tr><th><strong>货运保险信息</strong></th><td></td></tr>
			<tr><th>险种</th><td><s:property value="cargo.insuranceType" /></td></tr>
			<tr><th>投保货值</th><td><s:property value="cargo.insureValue" /></td></tr>
			<tr><th>保费金额</th><td><s:property value="cargo.insureCost" /></td></tr>
			
			<tr><th><strong>开票信息</strong></th><td></td></tr>
			<tr><th>发票抬头</th><td><s:property value="cargo.invoiceTo" /></td></tr>
			<tr><th>邮寄地址</th><td><s:property value="cargo.mailingAddress" /></td></tr>
			<tr><th>收信人</th><td><s:property value="cargo.mailReceiver" /></td></tr>
			<tr><th>邮编</th><td><s:property value="cargo.zipCode" /></td></tr>
			
			<tr><th><strong>联系人信息</strong></th><td></td></tr>
			<tr><th>姓名</th><td><s:property value="contactPerson.name" /></td></tr>
			<tr><th>职务</th><td><s:property value="contactPerson.post" /></td></tr>
			<tr><th>联系方式</th><td><s:property value="contactPerson.phone" /></td></tr>
			<tr><th>紧急联系方式</th><td><s:property value="contactPerson.crashPhone" /></td></tr>
			<tr><th>邮箱</th><td><s:property value="contactPerson.mail" /></td></tr>
			<tr><th>传真</th><td><s:property value="contactPerson.fax" /></td></tr>
			<tr><th>QQ</th><td><s:property value="contactPerson.qq" /></td></tr> --%>
		</table>
   </div>
  </body>
</html>
